﻿using System;
using System.Collections.Generic;

namespace YaAppoint.ExamItems
{
    public class CreateExamItemDto
    {
        public string Name { get; set; }

        public string? Code { get; set; }

        public string OuterCode { get; set; }

        public bool IsActive { get; set; }

        public int Order { get; set; } = 0;

        public bool IsDirectory { get; set; }

        public ApplicableSex ApplicableSex { get; set; }

        public Guid DeviceTypeId { get; set; }

        public string? DeviceTypeName { get; set; }

        public Guid? ParentId { get; set; }

        public string? ParentName { get; set; }

        public List<Guid>? Devices { get; set; }

        public bool RequireInterval { get; set; }

        public TimeSpan? StartTime { get; set; }

        public TimeSpan? EndTime { get; set; }

        /// <summary>
        /// 工作量系数
        /// </summary>
        public float? Workload { get; set; }
    }
}
